<?php
require_once '../Miffos/Debug.php';
ob_start();
  echo "<h1>work with firePHP</h1>";
/**
 * Experiment with function debug::fireLog
 */  

/**
 * easy info Massage
 */ 
echo "<h2>Test Massage</h2>\n";

$out = ob_get_contents();
ob_end_clean();


$table   = array();
$table[] = array('Col 1 Heading','Col 2 Heading');
$table[] = array('Row 1 Col 1','Row 1 Col 2');
$table[] = array('Row 2 Col 1','Row 2 Col 2');
$table[] = array('Row 3 Col 1','Row 3 Col 2');

Debug::fireLog($table, Debug::ERROR);


Debug::fireLog(null, Debug::GROUP_START,"Nazev");
          $EXCEPTION = array('Class'=>'My',
                          'Type'=>'Exception',
                          'Function'=>'Nyfzb',
                          'Message'=>"Ahoj",
                          'File'=>'/this.php',
                          'Line'=>'14',
                          'Args'=>'',
                          'Trace'=>array());
Debug::fireLog($EXCEPTION, Debug::EXCEPTION);

Debug::fireLog(null, Debug::GROUP_END);


echo $out;

?>